mediaFoundationVideoProcessorSetOutputMediaType
Type
command
Summary
Set the current output media type Platform:desktop
Syntax
mediaFoundationVideoProcessorSetOutputMediaType <pVideoProcessorID>, <pMediaTypeID>
Description
To setup the pipeline for transcoding we must find an a reader output media type that is supported by the video processor as an input media type and a writer input media type that is supported by the video processor as an output media type.
*Note
*:See the mediaFoundationTranscode documentation for a complete example of using this handler.
Parameters
Name | Type | Description |
---|---|---|
pVideoProcessorID | integer | A video processor ID |
pMediaTypeID | integer | A media type ID |
Value
Name | Type | Description |
---|---|---|
the result | boolean | True if the video processor supports the output media type for the current input media type |
Related
command: mediaFoundationTranscode, mediaFoundationCreateVideoProcessor
Compatibility and Support
OS
windows